Keysight VISA.NET Help
MoveIn8(AddressSpace,Int64,Int64,Byte[],Int64) Method



The address space.
The offset (in bytes) of the address or register from which bytes are moved.
The number of elements to transfer.
The buffer to which data is moved.
The starting index in destinationBuffer to which data is moved.
Moves an 8-bit block of data from the specified memory space (assigned memory base + offset) to local memory.
Syntax
'Declaration
 
Public Overloads Sub MoveIn8( _
   ByVal space As AddressSpace, _
   ByVal sourceOffset As Long, _
   ByVal count As Long, _
   ByVal destinationBuffer() As Byte, _
   ByVal destinationIndex As Long _
) 
'Usage
 
Dim instance As RegisterBasedSession
Dim space As AddressSpace
Dim sourceOffset As Long
Dim count As Long
Dim destinationBuffer() As Byte
Dim destinationIndex As Long
 
instance.MoveIn8(space, sourceOffset, count, destinationBuffer, destinationIndex)

Parameters

space
The address space.
sourceOffset
The offset (in bytes) of the address or register from which bytes are moved.
count
The number of elements to transfer.
destinationBuffer
The buffer to which data is moved.
destinationIndex
The starting index in destinationBuffer to which data is moved.
Remarks

If the session is an instrument (INSTR) session, the sourceOffset parameter specifies a relative offset from the start of the instrument’s address space. If the session is a memory access (MEMACC) session, the sourceOffset parameter is an absolute offset from the start of memory in the specified address space.

All operations on a PXI memory access session that accept a space parameter to indicate the address space for bus access will accept the value Ivi.Visa.AddressSpace.PxiAllocation .

The count parameter is the number of 8-bit elements to transfer, beginning at the specified offset. Therefore, (sourceOffset + count) cannot exceed the amount of memory exported by the device in the given space.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025